<% #endcoding:utf-8%>
<div class="message-nav row">
    <ul>
      <li <%if params[:readed].nil? %>class="actived"<%end%>><%=link_to "所有消息",'mymessages'%></li>
      <li <%if params[:readed]=='1' %>class="actived"<%end%>><%=link_to "已读消息",'mymessages?readed=1'%></li>
    </ul>
</div>